﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using System.Data.SqlClient;

namespace IDAL.IBaseInterface
{
    public interface IBaseDAL<T> where T : class
    {
        //登录，显示，反填
        List<T> Getlist<T>(params SqlParameter[] paramters);

        //添加
        bool ToAddSQL(T t);

        //修改
        bool ToUpdateSQL(T t);

        //删除
        bool ToDeleteSQL(T t);
    }
}
